<?php
$this->load("header");
$this->navbar();

?>
<?php
                foreach ($this->enq_detail_display as $key => $value) {
                    ?>
<!---<div class="bread_crumb" style="margin-left: 2%">
    &laquo;  <a href="enquiry">Back</a>
  </div>-->
<div class="add_div">
    <h5 style="color:blue;margin-left:15px">EDIT ENQUIRY</h5>
    <form role="form"  action=""  method="POST">
        <div class="form-group" id="add_field">
            <label for="exampleInputEmail1">Enquiry #</label>
            <input type="text" class="form-control" id="exampleInputEmail1"  name="enqdate" value="<?php echo $value['enqdate'];?>" readonly="readonly">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Student Name</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="name" value="<?php echo $value['name'];?>" required="required">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Father</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="father" value="<?php echo $value['father'];?>" required="required">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Admission to class/group</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="admtoclass" value="<?php echo $value['admtoclass'];?>" required="required" >
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Previous School/College</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="preschool" value="<?php echo $value['preschool'];?>" required="required">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Address</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="caddress" value="<?php echo $value['caddress'];?>" required="required">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">street</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="cstreet" value="<?php echo $value['cstreet'];?>" required="required" >
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Area</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="carea" value="<?php echo $value['carea'];?>">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Status</label>
            <select class="form-control" required="required" name="status">
                <option><?php echo $value['status'];?></option>
                <option>Day Scholar</option>
                <option>Day Boarder</option>
                <option>Hosteler</option>
            </select>
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Phone</label>
            <input type="text" class="form-control" id="exampleInputPassword1"  name="phones" value="<?php echo $value['phones'];?>" >
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Mobile</label>
            <input type="text" class="form-control" id="exampleInputPassword1" name="mobile" value="<?php echo $value['mobile'];?>" required="required">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Name of the Coordinator</label>
            <input type="text" class="form-control" id="exampleInputPassword1" value="<?php echo $value['coordinator'];?>" name="coordinator">
        </div>
        <div class="form-group"  id="add_field">
            <label for="exampleInputPassword1">Remarks</label>
            <textarea class="form-control" rows="3" name="remarks">
                <?php echo $value['remarks'];?>
            </textarea>
        </div>
                <?php } ?>

        <div style="clear: both;float:right;margin-bottom:20px">
            <button type="submit" class="btn btn-success" >Save</button></div>
    </form>

</div>
<?php
$this->load("footer");
?>
